//
//  DangQiViewModel.h
//  zhuchiren
//
//  Created by rainday on 15/2/8.
//  Copyright (c) 2015年 rainday. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface DangQiViewModel : NSObject
@property (nonatomic ,assign) BOOL hasLoaded;
@property (nonatomic ,strong ,readonly) NSMutableArray *dateArray;
@property (nonatomic ,strong ,readonly) NSMutableDictionary *eventDic;


- (BOOL)validateDate:(NSDate *)date;
- (void)fetchDataForUser:(NSString *)username;
- (NSDictionary *)dicForDate:(NSDate *)date;
- (void)updateSchedule:(NSString *)pk note:(NSString *)note beginTime:(NSString *)beginTime endTime:(NSString *)endTime;



@end
